home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
Xm
/
SgCreateFileSelectionBox.z
/
SgCreateFileSelectionBox
Wrap
Text File
|
1998-10-30
|
5KB
|
133 lines
SSSSggggCCCCrrrreeeeaaaatttteeeeFFFFiiiilllleeeeSSSSeeeelllleeeeccccttttiiiioooonnnnBBBBooooxxxx((((3333XXXXUUUU))))NNNNIIIIXXXX SSSSyyyysssstttteeeemmmmSSSSVVVVggggCCCCrrrreeeeaaaatttteeeeFFFFiiiilllleeeeSSSSeeeelllleeeeccccttttiiiioooonnnnBBBBooooxxxx((((3333XXXX))))
NNNNAAAAMMMMEEEE
SSSSggggCCCCrrrreeeeaaaatttteeeeFFFFiiiilllleeeeSSSSeeeelllleeeeccccttttiiiioooonnnnBBBBooooxxxx - The FileSelectionBox widget
creation function
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
####iiiinnnncccclllluuuuddddeeee <<<<XXXXmmmm////FFFFiiiilllleeeeSSSSBBBB....hhhh>>>>
WWWWiiiiddddggggeeeetttt XXXXmmmmCCCCrrrreeeeaaaatttteeeeFFFFiiiilllleeeeSSSSeeeelllleeeeccccttttiiiioooonnnnBBBBooooxxxx ((((_p_a_r_e_n_t, _n_a_m_e, _a_r_g_l_i_s_t, _a_r_g_c_o_u_n_t))))
WWWWiiiiddddggggeeeetttt _p_a_r_e_n_t;;;;
SSSSttttrrrriiiinnnngggg _n_a_m_e;;;;
AAAArrrrggggLLLLiiiisssstttt _a_r_g_l_i_s_t;;;;
CCCCaaaarrrrddddiiiinnnnaaaallll _a_r_g_c_o_u_n_t;;;;
VVVVEEEERRRRSSSSIIIIOOOONNNN
This page documents the version of Sgm that accompanies
Motif 2.1.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
XXXXmmmmCCCCrrrreeeeaaaatttteeeeFFFFiiiilllleeeeSSSSeeeelllleeeeccccttttiiiioooonnnnBBBBooooxxxx creates an unmanaged
FileSelectionBox. A FileSelectionBox is used to select a
file and includes the following:
+o A directory menu showing the current directory and the
directories above it
+o A scrolling list of file and directory names
+o An editable text field for the selected file
+o Labels for the list and text fields
+o Three buttons
The default button labels are OOOOKKKK, CCCCaaaannnncccceeeellll, and HHHHeeeellllpppp.
Additional work area children may be added to the
FileSelectionBox after creation. FileSelectionBox inherits
the layout functionality provided by SelectionBox for any
additional work area children.
If the parent of the FileSelectionBox is a DialogShell, use
XXXXttttMMMMaaaannnnaaaaggggeeeeCCCChhhhiiiilllldddd to pop up the FileSelectionDialog (passing the
FileSelectionBox as the widget parameter); use
XXXXttttUUUUnnnnmmmmaaaannnnaaaaggggeeeeCCCChhhhiiiilllldddd to pop it down.
_p_a_r_e_n_t Specifies the parent widget ID
_n_a_m_e Specifies the name of the created widget
Page 1 (printed 10/24/98)
SSSSggggCCCCrrrreeeeaaaatttteeeeFFFFiiiilllleeeeSSSSeeeelllleeeeccccttttiiiioooonnnnBBBBooooxxxx((((3333XXXXUUUU))))NNNNIIIIXXXX SSSSyyyysssstttteeeemmmmSSSSVVVVggggCCCCrrrreeeeaaaatttteeeeFFFFiiiilllleeeeSSSSeeeelllleeeeccccttttiiiioooonnnnBBBBooooxxxx((((3333XXXX))))
_a_r_g_l_i_s_tSpecifies the argument list
_a_r_g_c_o_u_n_t
Specifies the number of attribute/value pairs in the
argument list (_a_r_g_l_i_s_t)
For a complete definition of FileSelectionBox and its
associated resources, see SSSSggggFFFFiiiilllleeeeSSSSeeeelllleeeeccccttttiiiioooonnnnBBBBooooxxxx((((3333XXXX)))).
RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
Returns the FileSelectionBox widget ID.
RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
SSSSggggFFFFiiiilllleeeeSSSSeeeelllleeeeccccttttiiiioooonnnnBBBBooooxxxx((((3333XXXX)))).
Page 2 (printed 10/24/98)